package com.kgc.springboot.hangduo.service;

import com.github.pagehelper.PageInfo;
import com.kgc.springboot.hangduo.pojo.Client;
import com.kgc.springboot.hangduo.pojo.User;

public interface ClientService {
    //分页及查询
    PageInfo<Client> selectClientAll(String clientPhone, Integer pageNum, Integer pageSize);
    //登录
    Client login(String phone, String password);
    //用户注册
    int insertSelective(Client client);
    //验证手机号是否存在
    Client getPhone(String phone);
    //修改用户
    Integer updateById(Client client);
}
